package com.alks.entity.data.entity;

import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2024-07-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_CUTTING_DISPATCH_OTHER")
@ApiModel(value="PcCuttingDispatchOther对象", description="")
public class PcCuttingDispatchOther implements Serializable {

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "派工日期")
    private LocalDateTime dispatchDate;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "工艺")
    private String process;

    @ApiModelProperty(value = "部位")
    private String partName;

    @ApiModelProperty(value = "操作人ID")
    private String workerIdNo;

    @ApiModelProperty(value = "派工数量")
    private BigDecimal dispatchQty;

    @ApiModelProperty(value = "起始批次")
    private BigDecimal lsNo;

    @ApiModelProperty(value = "结束批次")
    private BigDecimal lsNo2;

    @ApiModelProperty(value = "打印标志位")
    private String printFlag;

    @ApiModelProperty(value = "受派人")
    private String userId;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "工艺编号")
    private String processCode;

    private String partName0;

    @ApiModelProperty(value = "操作人")
    private String workerName;

    @ApiModelProperty(value = "补单号")
    private String dispatchDept;

    @ApiModelProperty(value = "补单标签")
    private String dispatchType;

    @ApiModelProperty(value = "派工人")
    private String dispatchName;

    @ApiModelProperty(value = "工号")
    private String workerId;

    @ApiModelProperty(value = "合并指令号")
    private String combineLotNo;
}
